﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WeiXinSDK.DataModel
{
    public class AuthorizationToken : ResultMsg
    {
        private string _access_token = string.Empty;

        public string access_token
        {
            get { return _access_token; }
            set { _access_token = value; }
        }

        private int _expires_in = 0;

        public int expires_in
        {
            get { return _expires_in; }
            set { _expires_in = value; }
        }

        private string _refresh_token = string.Empty;

        public string refresh_token
        {
            get { return _refresh_token; }
            set { _refresh_token = value; }
        }

        private string _openid = string.Empty;

        public string openid
        {
            get { return _openid; }
            set { _openid = value; }
        }

        private string _scope = string.Empty;

        public string scope
        {
            get { return _scope; }
            set { _scope = value; }
        }

        private int _errcode = 0;

        public override int errcode
        {
            get { return _errcode; }
            set { _errcode = value; }
        }

        private string _errmsg = string.Empty;

        public override string errmsg
        {
            get { return _errmsg; }
            set { _errmsg = value; }
        }
    }
}
